package com.lizhi.yun.sync.rsz.controller;/**
 * @program: hbsf_yun
 * @name RszTrajectoryInfoSyncController
 * @description: 固定处方
 * @author: lizhi
 * @create: 2021-11-17 08:48
 */

import com.lizhi.yun.sync.rsz.handler.RszTrajectoryInfoSyncHandler;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 *@program: hbsf_yun
 *@name RszTrajectoryInfoSyncController
 *@description: 固定处方
 *@author: lizhi
 *@create: 2021-11-17 08:48
 */
@RestController
@RequestMapping(value = "/api/sync/trjectoryInfo")
public class RszTrajectoryInfoSyncController {

    @Resource
    private RszTrajectoryInfoSyncHandler rszTrajectoryInfoSyncHandler;

    @PostMapping(path = "/recv")
    public String recv(@RequestBody String json){
        return rszTrajectoryInfoSyncHandler.recv(json);
    }
}
